### this file is sourced not run
PKGVER=3.7.0
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=sylpheed-$PKGVER.tar.xz
MD5SUM=af1ea33e82050b8bd034b8cfbcd2f75e
SRC_URL=http://sylpheed.sraoss.jp/sylpheed/v3.7/$TARBALL
BUNDLE=

SLACKREQ='openssl libgpgme1 libgtkspell'
SLACKDESC="sylpheed: sylpheed $PKGVER (Email client)  
sylpheed:  
sylpheed: Sylpheed is a simple, lightweight but featureful, and easy-to-use 
sylpheed: e-mail client. This package comes with support for GnuPG.  
sylpheed: 
sylpheed: 
sylpheed: 
sylpheed: 
sylpheed: 
sylpheed: 
sylpheed:
"
SLACKSUG='gnupg1'

### default pkg_download
### default pkg_prepare
### default pkg_package
pkg_package() {
	install -m755 tmp/pkg/sylpheed-spot usr/bin
	sed -i -e 's|Exec=sylpheed|Exec=sylpheed-spot|' usr/share/applications/sylpheed.desktop
}

### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-updatecheck"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}

