# Template file for 'proftpd'
pkgname=proftpd
version=1.3.6
revision=1
build_style=gnu-configure
makedepends="libcap-devel"
short_desc="Highly configurable GPL-licensed FTP server software"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
changelog="https://github.com/proftpd/proftpd/blob/${version}/RELEASE_NOTES"
homepage="http://www.proftpd.org/"
distfiles="https://github.com/proftpd/proftpd/archive/v${version}.tar.gz"
checksum=91ef74b143495d5ff97c4d4770c6804072a8c8eb1ad1ecc8cc541b40e152ecaf
conf_files="/etc/proftpd.conf"

proftpd-devel_package() {
	short_desc+=" - development files"
	depends="proftpd>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}
