SUMMARY="Manage all your finances with this easy-to-use app!"
DESCRIPTION="
Finance is an app made to provide all features expected from personal finance \
software while using the style of Haiku. It can be used to balance multiple \
accounts and you can import Quicken or Money data, reconcile statements, view \
spending categorization and net worth trends, all with customizable categories \
and payees.
"
HOMEPAGE="https://github.com/HaikuArchives/Finance"
SRC_URI="git://github.com/HaikuArchives/Finance.git#33513a1c44b6f94a46ccae563f19a64440dea46a"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="
	2001 Bunru Software
	2009 Pier Luigi Fiorini
	"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	finance = $portVersion
	app:finance = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:xres
	cmd:gcc
	cmd:jam
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"

USER_SETTINGS_FILES="
	settings/BeFinancial_data
	"

BUILD()
{
	runConfigure ./configure
	jam
}

INSTALL()
{
	mkdir -p $appsDir
	cp generated/distro-haiku-*-release/Finance $appsDir
	addAppDeskbarSymlink $appsDir/Finance
}
