# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/gopasspw/gopass-hibp 1.16.0 v
go.offline_build    no
revision            0
categories          security
maintainers         {@sikmir disroot.org:sikmir} \
                    {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
license             MIT

description         Gopass haveibeenpwnd.com integration
long_description    {*}${description}
homepage            https://www.gopass.pw

checksums           rmd160  ea174340505ce77d38ed7e9add401f975dd55087 \
                    sha256  eedc95494f40a2c0be6b68229e2a73c319e5c378c1ea5af2d3c1b9bc68530a5f \
                    size    22887

build.cmd           ${go.bin} mod tidy \&\& ${go.bin} build
build.args          -ldflags '-X main.version=${version}'

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}
