# Template file for 'include-what-you-use'
pkgname=include-what-you-use
version=0.26
revision=1
build_style=cmake
_llvmver=22
configure_args="-DIWYU_LLVM_ROOT_PATH=${XBPS_CROSS_BASE}/usr
 -DClang_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/cmake/clang
 -DLLVM_DIR=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}/lib/cmake/llvm"
hostmakedepends="python3"
makedepends="llvm${_llvmver}-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=5247c0c9a59df9d14e8aa7408ffec4134c6a4aef12f590929111fbfeac930a08
python_version=3

post_install() {
	vlicense LICENSE.TXT
}
