SUMMARY="TimeCop helps you collect statistics about your computer usage"
DESCRIPTION="
You want to know, how much time you spend in front of your computer?
You want to know, how often your computer crashes?

You can use TimeCop to write a protocol of your computer sessions.
"
HOMEPAGE="http://www.augusta.de/michael/BeOS/TimeCop/index.us.html"
SOURCE_URI="git://github.com/HaikuArchives/TimeCop.git#ee79c42895"
REVISION="2"
LICENSE="GNU GPL v2"
COPYRIGHT="Michael Pieper"
ARCHITECTURES="x86_gcc2 x86 !ppc"
CHECKSUM_SHA256="d384c22c8768298fb1d9ea60fbdb8e7f7e440c00bae44c37e7507f20c4fe6a94"

REQUIRES="
	haiku
	"
PROVIDES="
	cmd:TimeCop_daemon = $portVersion
	app:TimeCop = $portVersion
	"
BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make
}

INSTALL()
{
	mkdir -p $binDir
	mkdir -p $appsDir
	cp -a $sourceDir/bin/TimeCop_daemon $binDir/TimeCop_daemon
	cp -a $sourceDir/bin/TimeCop $appsDir/TimeCop

	addAppDeskbarSymlink $appsDir/TimeCop
}
