# Description: Client léger et très simple de messagerie electronique
# URL: http://sylpheed.sraoss.jp/en/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtk, gpgme, gnupg, gnupg1

name=sylpheed
version=3.0.2
release=1
source=(http://sylpheed.sraoss.jp/sylpheed/v3.0/$name-$version.tar.bz2 \
  sylpheed.desktop)


build() {
	cd $name-$version
	./configure --prefix=/usr \
	--enable-static=no \
	--disable-gtkspell \
	--disable-gtktest \
	--disable-compface \
	--enable-gpgme \
	--enable-ssl \
	--enable-ldap

	make
	make DESTDIR=$PKG install
	rm -r $PKG/usr/share/sylpheed
	install -D -m644 ../sylpheed.desktop $PKG/usr/share/ede/programs/Internet/sylpheed.desktop
}