How to build it:

1- Install prerequisits:
	* xsltproc
	* libgrantlee5-dev (>=5.0.0)
	* libsqlite3-dev (>=3.7.0)
	* libofx-dev 
	* libboost-dev 
	* libqjson-dev (>=0.8.0)
	* qtscript5-dev 
	* qttools5-dev 
	* libqt5webkit5-dev 
	* libqt5svg5-dev 
	* libkf5coreaddons-dev 
	* libkf5archive-dev 
	* libkf5xmlgui-dev 
	* libkf5wallet-dev 
	* libkf5parts-dev 
	* libkf5newstuff-dev 
	* libkf5iconthemes-dev 
	* libkf5kdelibs4support-dev 
	* libkf5notifyconfig-dev 
	* libkf5runner-dev 
	* plasma-framework-dev 
	* kdoctools-dev 
	* kgendesignerplugin 
	* libqca-qt5-2-dev
	* libkf5activities-dev
	* kross-dev
	
	Examples:
	On ubuntu:
		sudo apt-get install build-essential cmake devscripts cdbs extra-cmake-modules kross-dev libgrantlee5-dev libsqlite3-dev libofx-dev libboost-dev xsltproc libqjson-dev qtscript5-dev qttools5-dev libqt5webkit5-dev libqt5svg5-dev libkf5coreaddons-dev libkf5archive-dev libkf5xmlgui-dev libkf5activities-dev libkf5wallet-dev libkf5parts-dev libkf5newstuff-dev libkf5iconthemes-dev libkf5kdelibs4support-dev libkf5notifyconfig-dev libkf5runner-dev plasma-framework-dev kdoctools-dev kgendesignerplugin libqca-qt5-2-dev

2- Extract the archive, and enter the "skrooge" directory. Then run :
	cmake . -DCMAKE_INSTALL_PREFIX=[path to your KDE installation]
	make
	make install (as root)

	Examples:
	On ubuntu:
		mkdir build
		cd build
		cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DCMAKE_BUILD_TYPE=release -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins`

		make
		sudo make install

		to launch it: /usr/bin/skrooge


# For Static code analysis
cmake .. -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DCMAKE_BUILD_TYPE=profile -DCMAKE_CXX_COMPILER=/usr/share/clang/scan-build/c++-analyzer
After cmake finishes its magic, run the analyzer:
/usr/share/clang/scan-build/scan-build --use-analyzer=/usr/bin/clang++ make
