# SliTaz package receipt.

PACKAGE="sylpheed"
VERSION="3.1.1"
CATEGORY="network"
SHORT_DESC="Simple, lightweight but featureful, and easy-to-use e-mail client"
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://sylpheed.sraoss.jp/en/"
WGET_URL="http://sylpheed.sraoss.jp/sylpheed/v3.1/$TARBALL"
TAGS="mail internet"

DEPENDS="gtk+ libssl"
BUILD_DEPENDS="gtk+-dev openssl-dev"

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

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