SUMMARY="Tracker add-on to encrypt files using AES cipher"
DESCRIPTION="AESAddOn is a Tracker add-on which adds the functionality of encrypting files \
with AES 128, 192, and 256 bit. It works only as a Tracker add-on."
HOMEPAGE="https://github.com/HaikuArchives/AESAddOn"
COPYRIGHT="2003 Jason Grenier"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="git://github.com/HaikuArchives/AESAddOn#78dd4c50634a97bbe04bd68479cedc114a14cb4d"

ARCHITECTURES="!x86_gcc2 ?x86"
#Resulting Tracker add-on doesn't seem to be working.

PROVIDES="
	aesaddon = $portVersion
	app:AESAddOn = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	cd src
	make $jobArgs
}

INSTALL()
{
	cd src
	make install INSTALL_DIR=$addOnsDir/Tracker
}
