# Template file for 'include-what-you-use'
pkgname=include-what-you-use
version=0.8
revision=1
wrksrc="${pkgname}"
build_style=cmake
configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr "
make_build_args="VERBOSE=1"
makedepends="clang llvm ncurses-devel zlib-devel"
short_desc="Analyze #includes in C and C++ source files"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD"
homepage="https://include-what-you-use.org/"
distfiles="https://include-what-you-use.org/downloads/${pkgname}-${version}.src.tar.gz"
checksum=6d0c5b41535c8e3a881975dafa44493a32c1262018de2c114b0e5016f12bd664

post_install() {
	vlicense LICENSE.TXT
}
