opam-version: "2.0"
maintainer: "zandoye@gmail.com"
authors: [ "ZAN DoYe" ]
homepage: "https://bitbucket.org/zandoye/ocaml-opencc1/"
bug-reports: "https://bitbucket.org/zandoye/ocaml-opencc1/issues"
license: "MIT"
tags: [
  "opencc"
  "Chinese conversion"
]
dev-repo: "hg+https://bitbucket.org/zandoye/ocaml-opencc1"

build: [
  ["dune" "build" "-p" name "-j" jobs]
]

depends: [
  "ocaml" {>= "4.02.3"}
  "dune"
  "ctypes"
  "ctypes-foreign"
  "conf-opencc1"
]

post-messages: [
  "This package requires installation of libopencc (>= 1.0.1 & < 2.0~)"
]

synopsis: "Bindings for OpenCC (v1) - Open Chinese Convert"
description:
  "Open Chinese Convert (OpenCC, 開放中文轉換) is an opensource project for conversion between Traditional Chinese and Simplified Chinese, supporting character-level conversion, phrase-level conversion, variant conversion and regional idioms among Mainland China, Taiwan and Hong kong."

url {
  src:"https://bitbucket.org/zandoye/ocaml-opencc1/get/1.0.1.tar.gz"
  checksum: "md5=50f4d90e881cd1a1e1941657cc1b5ba3"
}
