# Template file for 'offlineimap'
pkgname=offlineimap
version=7.2.4
revision=1
archs=noarch
build_style=python2-module
pycompile_module="offlineimap"
hostmakedepends="python-six asciidoc"
depends="python-six"
short_desc="Powerful IMAP/Maildir synchronization and reader support"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://offlineimap.org/"
changelog="https://raw.githubusercontent.com/OfflineIMAP/offlineimap/master/Changelog.md"
distfiles="https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz"
checksum=5b6590c82cd5f6cbfe09e89ce52622208f5d4b24e021fce7646204b417bd1d2e

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