# SliTaz package receipt.

PACKAGE="sylpheed-full"
VERSION="3.1.1"
CATEGORY="network"
SHORT_DESC="Simple and full featured e-mail client (GPG, spell, ldap support)"
MAINTAINER="pankso@slitaz.org"
SOURCE="sylpheed"
TARBALL="$SOURCE-$VERSION.tar.bz2"
WEB_SITE="http://sylpheed.sraoss.jp/en/"
WGET_URL="http://sylpheed.sraoss.jp/sylpheed/v3.1/$TARBALL"
TAGS="mail internet"
PROVIDE="sylpheed"

DEPENDS="gtk+ libssl gnupg gpgme libgpg-error gtkspell enchant libldap"
BUILD_DEPENDS="gtk+-dev openssl-dev libgpg-error-dev \
gtkspell-dev enchant-dev openldap-dev gpgme-dev"

# Rules to configure and make the package.
compile_rules()
{
	./configure \
		--enable-ldap \
		--disable-updatecheck \
		$CONFIGURE_ARGS && 
	make && make install
}

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