opam-version: "2.0"
maintainer: "marek@xivilization.net"
homepage: "https://github.com/Leonidas-from-XIV/slacko"
license: "LGPL-3.0-only with OCaml-LGPL-linking-exception"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
install: [
  ["ocaml" "setup.ml" "-install"]
]
remove: [
  ["ocamlfind" "remove" "slacko"]
]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind"
  "cmdliner"
  "yojson"
  "lwt" {>= "2.4.6"}
  "ssl"
  "cohttp" {>= "0.10.0" & < "0.99"}
  "ocamlbuild" {build}
]
dev-repo: "git://github.com/Leonidas-from-XIV/slacko"
bug-reports: "https://github.com/Leonidas-from-XIV/slacko/issues"
synopsis: "Access the Slack API"
description: """
Slacko provides an easy to use interface to 100% of the Slack REST API, which
allows to join Slack channels, post messages, create channels and groups and
manage those, upload and search files, manage presence."""
authors: "Marek Kubica <marek@xivilization.net>"
flags: light-uninstall
url {
  src:
    "https://github.com/Leonidas-from-XIV/slacko/releases/download/0.12.0/slacko-0.12.0.tar.gz"
  checksum: "md5=555023502adc2256360912b8746b08aa"
}
