# Template file for 'include-what-you-use'
pkgname=include-what-you-use
version=0.22
revision=1
build_style=cmake
configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr"
hostmakedepends="python3"
makedepends="llvm18-devel 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=859074b461ea4b8325a73418c207ca33b5e6566b08e6b587eb9164416569a6dd
python_version=3

post_install() {
	vlicense LICENSE.TXT
}
