# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname="sieve-connect"
pkgver="0.90"
pkgrel=1
pkgdesc="command line client for MANAGESIEVE protocol"
url="https://people.spodhuis.org/phil.pennock/software"
arch="noarch"
license="BSD-3-Clause"
depends="
	perl-authen-sasl
	perl-io-socket-inet6
	perl-io-socket-ssl
	perl-net-dns
	perl-term-readkey"
subpackages="$pkgname-doc"
source="https://people.spodhuis.org/phil.pennock/software/sieve-connect-$pkgver.tar.bz2"
options="!check" # no tests provided.

build() {
	make
}

package() {
	install -Dm0755 sieve-connect "$pkgdir/usr/bin/sieve-connect"
	install -Dm0644 sieve-connect.1 "$pkgdir/usr/share/man/man1/sieve-connect.1"
}

sha512sums="3b4d4a6a7eb7d48f8b2dbc4c302c3de1a2a193282c7b2d25581e1131d6c7598cc2a47edabf8b108e94e0fd1a9cc50e48a103c133dba233f180f12d36c0da0718  sieve-connect-0.90.tar.bz2"
