SUMMARY="A note taking application"
DESCRIPTION="With TakeNotes you can:
- Write a note
- Edit the font family, color and size
- Change the color of your note
- Move your note on the desktop
- Link a note to a particular application
- Tag your note for easy search
- Set an alarm to remind you of dates, appointments and so on"
HOMEPAGE="https://github.com/HaikuArchives/TakeNotes"
COPYRIGHT="2009 Ilio Catallo, Stefano Celentano, Eleonora Ciceri"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="c510837c9f978081dbf9e404349a629710dee1ae"
SOURCE_URI="https://github.com/HaikuArchives/TakeNotes/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="e608b630d81604c328e63703b274666050bc115dee14183267bf22e130bf86bf"
SOURCE_DIR="TakeNotes-$srcGitRev/source"

ARCHITECTURES="all"

PROVIDES="
	takenotes=$portVersion
	app:TakeNotes=$portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

INSTALL()
{
	mkdir -p $appsDir
	cp objects/TakeNotes $appsDir
	addAppDeskbarSymlink $appsDir/TakeNotes
}
