# Description: GTK+ email client and news reader
# URL:         http://sylpheed.sraoss.jp/en/
# Maintainer:  Jürgen Daubert, juergen dot daubert at t-online dot de
# Depends on:  gtk, openssl

name=sylpheed
version=2.3.1
release=1
source=(http://sylpheed.sraoss.jp/sylpheed/v2.3/$name-$version.tar.bz2)

build () {
    cd $name-$version
    ./configure --prefix=/usr
    make
    make DESTDIR=$PKG install
    
    install -d $PKG/usr/share/{applications,pixmaps}
    install -m 0644 sylpheed.desktop $PKG/usr/share/applications
    install -m 0644 sylpheed.png $PKG/usr/share/pixmaps
    
    rm -r $PKG/usr/share/{locale,sylpheed}
}
