SUMMARY="Manage contacts and messages stored on a mobile phone"
DESCRIPTION="BeMobile is a program to manage contacts and messages stored on \
your mobile phone. It has been developed for Motorola C550 and L6 models but \
should work with any phone that supports AT command set."
HOMEPAGE="https://github.com/ytmytm/beos-bemobile"
COPYRIGHT="2014 Maciej Witkowia"
LICENSE="MIT"
REVISION="1"
srcGitRev="5a0dc2b5f06abdd260f8c335f7ff1bb9c1e68586"
SOURCE_URI="https://github.com/ytmytm/beos-bemobile/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="b19bf7e161b966116ad8fce559524041334b554adcb9decaa597098af5863c89"
SOURCE_FILENAME="beos-bemobile-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="beos-bemobile-$srcGitRev"

ARCHITECTURES="!all x86_gcc2"

PROVIDES="
	bemobile = $portVersion
	app:BeMobile = $portVersion
	"
REQUIRES="
	haiku
	lib:libsanta
	"

BUILD_REQUIRES="
	haiku_devel
	lib:libsanta
	"

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

BUILD()
{
	make OBJ_DIR=objects
}

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