# Maintainer: Natanael Copa pkgname=sylpheed pkgver=3.4.3 pkgrel=0 pkgdesc="Lightweight and user-friendly e-mail client" url="http://sylpheed.sraoss.jp/en/" arch="all" license="GPL" depends= makedepends="gtk+-dev openldap-dev openssl-dev" subpackages="$pkgname-dev $pkgname-lang" source="http://$pkgname.sraoss.jp/$pkgname/v${pkgver%.*}/$pkgname-$pkgver.tar.bz2 gmodule.patch " prepare() { cd "$srcdir/sylpheed-$pkgver" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$srcdir/sylpheed-$pkgver" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --enable-ldap \ --disable-gtkspell \ || return 1 make || return 1 } package() { cd "$srcdir/sylpheed-$pkgver" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" -name '*.la' -delete } md5sums="3a7d10b68017988b48e5c2a27e559e98 sylpheed-3.4.3.tar.bz2 e9a3795219bc9c6cafc1cc360eeb9854 gmodule.patch" sha256sums="09fae954c775073b43ce2f660a6bed1087237659eade1c68913cb86add1fb905 sylpheed-3.4.3.tar.bz2 294575fec0ccecfa5928a7e15c94c5369d392255dcd8e3539f6acd6a8f02818e gmodule.patch" sha512sums="cadae6a6855fae8c2df249d83cfd2d7b214062e3e49c74f6d64b3c2f97a9eb2586f14e2b766715e07fa1b229e4462cd39eee69bd02c26053b1ed93a497c3836b sylpheed-3.4.3.tar.bz2 7f975df8691b79eb874179998fc873790471bc9d96b13449fee6134175cde1c1461b946c3a66852fae6214f0f44a6c73a24e11b7ae8ae0a30901ad8861e9525a gmodule.patch"