opam-version: "2.0"
maintainer: "ygrek@autistici.org"
homepage: "https://github.com/ermine/xmpp"
license: "BSD-3-Clause"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-test"] {with-test}
]
remove: [["ocamlfind" "remove" "erm_xmpp"]]
depends: [
  "ocaml"
  "ocamlfind"
  "erm_xml" {>= "0.3"}
  "cryptokit" {>= "1.5"}
  "camlp4"
  "ocamlbuild" {build}
]
patches: ["disable_tests.patch"]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "XMPP protocol implementation"
flags: light-uninstall
extra-files: ["disable_tests.patch" "md5=e3fc660ac92a4e473fac47f47fda5f42"]
url {
  src: "https://github.com/ermine/xmpp/tarball/v0.2"
  checksum: "md5=40f15d7a910935a792d0f3b3f3642b69"
}
