# Template file for 'offlineimap'
pkgname=offlineimap
version=6.6.1
revision=1
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools asciidoc"
depends="python"
pycompile_module="offlineimap"
short_desc="Powerful IMAP/Maildir synchronization and reader support"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://offlineimap.org/"
license="GPL-2"
distfiles="https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz"
checksum=af3fd47ba087180dc0e8d2b64cf358ce7f6fe49732d13b6fcce82853d0004bb0

post_install() {
	make -C docs man
	vman docs/offlineimap.1
	vman docs/offlineimapui.7
	vsconf offlineimap.conf
	vsconf offlineimap.conf.minimal
}
