PKGNAME=mihomo
PKGSEC=net
PKGDEP="glibc"
BUILDDEP="go"
PKGDES="A rule-based tunnel for VMess, Shadowsocks, Trojan, Snell protocols (Clash Meta)"

# FIXME: Autobuild does not yet support splitting out debug symbols from
# Golang executables.
ABSPLITDBG=0

ABTYPE=gomod
GO_BUILD_AFTER=(
    -trimpath
    -tags "with_gvisor"
    -mod=readonly
)

PKGPROV="clash-meta"
