description = "GNU TLS library"
name = "libgnutls"

maintainers = ["alejandro@mosteo.com"]
maintainers-logins = ["mosteo"]

[[external]]
kind = "system"
[external.origin."case(distribution)"]
"arch" = ["gnutls"]
"debian|ubuntu" = ["libgnutls28-dev"]
"centos|fedora" = ["gnutls-devel"]
"homebrew" = ["gnutls"]
"macports" = ["gnutls"]

[[external]]
kind = "version-output"
version-command = [ "pkg-config", "--modversion", "gnutls" ]
version-regexp = "([\\d\\.]+)"

# pkg-config requires further steps to make packages findable by
# dependencies that Alire does not yet support
available = false