# Template file for 'doxygen'
pkgname=doxygen
version=1.8.18
revision=1
build_style=cmake
hostmakedepends="chroot-git perl python flex"
short_desc="Source code documentation generator tool"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://www.doxygen.org/"
distfiles="http://doxygen.nl/files/doxygen-${version}.src.tar.gz"
checksum=18173d9edc46d2d116c1f92a95d683ec76b6b4b45b817ac4f245bb1073d00656

build_options="wizard"
desc_option_wizard="build Qt5 GUI configuration tool, doxywizard"

if [ "$build_option_wizard" ]; then
	configure_args+=" -Dbuild_wizard=1"
	makedepends+=" qt5-devel"
fi

post_install() {
	vman doc/doxygen.1
	if [ "$build_option_wizard" ]; then
		vman doc/doxywizard.1
	fi
}
