SUMMARY="Decrypts your PowerPacker encrypted files"
DESCRIPTION=" 
Decrypts PowerPacker encrypted files using Stuart Caie's ppcrack 0.1 \
decrypting routines.
" 
HOMEPAGE="https://github.com/HaikuArchives/PPViewer"
SRC_URI="git+https://github.com/HaikuArchives/PPViewer#ce572506ca6e69c888898abf5b958701e068122b"
REVISION="1" 
LICENSE="MIT"
COPYRIGHT="2002 Maurice Michalski"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	ppviewer = $portVersion
	app:ppviewer = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:g++
	"

BUILD()
{
	g++ -lbe -ltracker -o PPViewer *.cpp
}

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