SUMMARY="Manage your task list and sync it with online services"
DESCRIPTION="HaikuToDo allows you to manage lists of tasks and synchronize \
them with online services such as Google Tasks."
ARCHITECTURES="x86_gcc2"
REVISION="1"

HOMEPAGE="https://github.com/AdrianArroyoCalle/haiku-todo"
SOURCE_URI="git+https://github.com/AdrianArroyoCalle/haiku-todo.git"

COPYRIGHT="2014 Adrian Arroyo Calle"
LICENSE="MIT"

PROVIDES="
	app:haikutodo
"

BUILD_REQUIRES="
	haiku_devel
"

BUILD_PREREQUIRES="
	cmd:cmake
	cmd:g++
	cmd:make
"

BUILD()
{
	mkdir -p build
	cd build
	cmake ..
	make $jobArgs
}

INSTALL()
{
	mkdir -p $appsDir
	cp build/HaikuToDo $appsDir
	addAppDeskbarSymlink $appsDir/HaikuToDo HaikuToDo
}
