# Template file for 'offlineimap'
pkgname=offlineimap
version=6.5.6
revision=1
noarch=yes
build_style=python-module
hostmakedepends="python-setuptools python-docutils"
depends="python"
pycompile_module="offlineimap"
short_desc="ISO 8601 date/time/duration parser and formatter (Python2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://offlineimap.org/"
license="GPL-2"
distfiles="https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz"
checksum=c23219cdbbae7fe12346ece94c427737fd4083720a124fff6f95a26c56f728c3

post_install() {
    rst2man docs/MANUAL.rst offlineimap.1
    vman offlineimap.1
    vsconf offlineimap.conf
    vsconf offlineimap.conf.minimal
}
