# Template file for 'fdm'
pkgname=fdm
version=1.7
revision=2
build_style=configure
hostmakedepends="bison"
makedepends="zlib-devel libressl-devel tdb-devel"
short_desc="Program to fetch and deliver mail"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
homepage="http://fdm.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname/$pkgname-$version/$pkgname-$version.tar.gz"
checksum=484474094f124ce438c89dfab05519fe7b3aa8c8346d00f790a512ab950cef2a

do_install() {
    make DESTDIR=$DESTDIR PREFIX=/usr MANDIR=/usr/share/man install

    vmkdir usr/share/doc/${pkgname}
    cp -r examples ${DESTDIR}/usr/share/doc/${pkgname}
}
