# Template file for 'hoogle'
pkgname=hoogle
version=5.0.12
revision=1
build_style=haskell-stack
nocross=yes # Can't yet cross compile Haskell
stackage="lts-8.8"
makedepends="zlib-devel"
short_desc="Haskell API search engine"
maintainer="Inokentiy Babushkin <twk@twki.de>"
license="BSD-3"
homepage="http://hoogle.haskell.org/"
distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz"
checksum=a3d3fbffd9b6a0761ec7172efe5a21ea02448169e95b2704c5110e3409ed9bee
nopie=yes  # network-2.6.3.1 build fails with a relocation

post_install() {
	vlicense LICENSE
}
