# Template file for 'balsa'
pkgname=balsa
version=2.5.0
revision=1
build_style=gnu-configure
configure_args="--without-nm --without-gtkspell --with-gmime=2.6 --with-ssl
 --with-gpgme=/usr/bin/gpgme-config --with-libsecret --enable-touch-ui
 --enable-pcre"
hostmakedepends="pkg-config intltool automake gettext-devel"
makedepends="iso-codes enchant-devel libnotify-devel libesmtp-devel gtk+3-devel
 gmime-devel webkitgtk-devel openssl-devel gpgme-devel libsecret-devel pcre-devel
 hicolor-icon-theme desktop-file-utils"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="An email client for GNOME"
maintainer="pancake <pancake@nopcode.org>"
homepage="http://pawsa.fedorapeople.org/balsa/"
license="GPL-2"
distfiles="http://pawsa.fedorapeople.org/balsa/balsa-2.5.0.tar.bz2"
checksum=67eaddbc33a079a74b65bf5f71ef163573f7d4a6f29ed6dca2ad6811d95519b4

pre_configure() {
	sed -i 's/if test $with_g_d_u = yes ; then/\
		AM_CONDITIONAL([ENABLE_SK], [test $with_g_d_u = "yes"])\
		if test $with_g_d_u = yes ; then/' configure.ac
	mkdir m4
	autoreconf -fi
}
