How to build it:

1- Install prerequisits:
	* kde4 headers (>=4.8)
	* libqt4-dev libqt4-sql-sqlite (>=4.7)
	* kdesdk-scripts
	* libqca2-dev
	* libofx-dev
	* libgrantlee-dev (>=0.2)
	* libkactivities-dev
	* libqjson-dev (>=0.8.0)
	* libsqlite3-dev (>=3.7.0)
	* kdepimlibs5-dev
	*libboost-dev
	* xsltproc
	
	Examples:
	On ubuntu:
		sudo apt-get install build-essential cmake devscripts cdbs libqca2-dev libsqlite3-dev kdelibs5-dev libofx-dev libgrantlee-dev automoc subversion qt4-designer qt4-dev-tools libqjson-dev kdepimlibs5-dev libkactivities-dev xsltproc libboost-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=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=release
		make
		sudo make install

		to launch it: /usr/bin/skrooge


# For Static code analysis
cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-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
