opam-version: "2.0"
maintainer: "nv-vn <nv@cock.li>"
authors: "nv-vn <nv@cock.li>"
homepage: "https://github.com/nv-vn/telegraml"
bug-reports: "https://github.com/nv-vn/telegraml/issues"
license: "MIT"
dev-repo: "git+https://github.com/nv-vn/telegraml.git"
build: [
  ["./configure" "--prefix=%{prefix}%"]
  [make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "telegraml"]
depends: [
  "ocaml" {>= "4.02"}
  "ocamlfind" {build}
  "oasis" {build}
  "lwt" {>= "2.5.0"}
  "cohttp" {>= "0.19.0" & < "0.99"}
  "yojson" {>= "1.3.0"}
  "batteries" {>= "2.4.0"}
]
synopsis: "Telegram Bot API for OCaml"
description: """
An implementation of the Telegram Bot API in 100% OCaml,
using Lwt for asynchronous operations and Cohttp for networking.
Implements most basic functionality present in the API, plus
convenience modules for error handling and defining commands."""
flags: light-uninstall
url {
  src: "https://github.com/nv-vn/TelegraML/archive/v2.1.2.tar.gz"
  checksum: "md5=c1c4f37f0d1c0f34b061c349724f139e"
}
