SUMMARY="Easy to use powerful contact manager for haiku"
DESCRIPTION="
MrPeeps is an app for managing People files that has more features than other \
contact managers. For more info read the README file.
"
HOMEPAGE="https://github.com/HaikuArchives/MrPeeps"
SRC_URI="git+https://github.com/HaikuArchives/MrPeeps#ce2e65"
LICENSE="MIT"
COPYRIGHT="2003 DarkWyrm"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
	MrPeeps = $portVersion
	app:MrPeeps = $portVersion
	"
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES="
	haiku_devel >= $haikuVersion
	"
BUILD_PREREQUIRES="
	cmd:gcc
	"
PATCHES="MrPeeps-1.2_beta.patch"

BUILD()
{
	cd src
	cp Locale\ Support/* ./
	g++ -lbe -ltranslation -lroot AboutWindow.cpp BitmapDump.cpp \
		BitmapView.cpp BStringList.cpp DataView.cpp Formatting.cpp \
		IntroView.cpp ListData.cpp MrPeeps.cpp NewTextControl.cpp \
		PeepsItem.cpp PeepsWindow.cpp PeopleList.cpp LocaleRoster.cpp \
		Locale.cpp TextFile.cpp -o ../MrPeeps
}

INSTALL()
{
	mkdir -p $appsDir
	cp -f ./MrPeeps $appsDir
	addAppDeskbarSymlink $appsDir/MrPeeps
}
