# Template file for 'include-what-you-use'
pkgname=include-what-you-use
version=0.16
revision=1
wrksrc="${pkgname}"
build_style=cmake
configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
hostmakedepends="python3"
makedepends="clang clang-tools-extra llvm ncurses-devel zlib-devel"
short_desc="Analyze #includes in C and C++ source files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="NCSA"
homepage="https://include-what-you-use.org/"
distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
checksum=8d6fc9b255343bc1e5ec459e39512df1d51c60e03562985e0076036119ff5a1c
python_version=3

post_install() {
	vlicense LICENSE.TXT
}
