# SliTaz package receipt.

PACKAGE="gitmail"
VERSION="0.4"
CATEGORY="network"
SHORT_DESC="Ghost In The Mail is a simple mail client."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
DEPENDS="gtk+ xorg-libXdamage"
BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
WEB_SITE="http://gitmail.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg \
	gitmaildocdir=/usr/share/doc/GhostInTheMail \
	install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr
	cp -a $_pkg/usr/bin $fs/usr
}