# -*- 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.10 v
go.offline_build    no
github.tarball_from archive
revision            0
categories          security
maintainers         {@sikmir disroot.org:sikmir} \
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
license             MIT

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

checksums           rmd160  e359c584af174c653b58deed6133d225b706683a \
                    sha256  202625ee5f34596ee38aeec421156dd8163c7a75065777a303ff05ff5474e5f7 \
                    size    28521

build.args          -ldflags '-X main.version=${version}'

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