# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Mark Pustjens <pustjens@dds.nl>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Giorgio Lando <patroclo7@gmail.com>
# Contributor: Leslie P. Polzer <polzer@gnu.org>

pkgname=isync
pkgver=1.1.2
pkgrel=1
pkgdesc="IMAP and MailDir mailbox synchronizer"
arch=('i686' 'x86_64')
url="http://isync.sourceforge.net"
license=('GPL2')
depends=('openssl')
source=(http://downloads.sourceforge.net/sourceforge/isync/$pkgname-$pkgver.tar.gz)
md5sums=('8e8e62c8f1e3306059b1d7bea325b24e')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr

  make
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR="$pkgdir" install
}
