# Template build file for 'sylpheed'.
pkgname=sylpheed
version=3.4.2
revision=2
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-compface --disable-gtkspell --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="automake libtool pkg-config flex gettext-devel gtk+-devel gpgme-devel"
makedepends="libfl-devel zlib-devel libressl-devel gtk+-devel gpgme-devel"
short_desc="GTK+ Lightweight and user-friendly e-mail client"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://sylpheed.sraoss.jp"
distfiles="http://sylpheed.sraoss.jp/sylpheed/v3.4/$pkgname-$version.tar.bz2"
checksum=198de08d01a5c150adae6b6612da80674bbc7ed59b58bbd7508124b869322ba3

pre_configure() {
	aclocal -I ac
	libtoolize --force --copy
	autoheader
	automake --add-missing --foreign --copy
	autoconf
}
post_install() {
	rm -rf ${DESTDIR}/usr/include
}
