# -*- 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.15.15 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  680675359b8b5a014690cb283f708bda2969049f \
                    sha256  b7f88b83d7959cad4c949cd09364ce1655a78ca3b7efc9a12f6e7699b5d22502 \
                    size    22701

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/
}