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

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

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

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

synopsis: "Bindings for OpenCC (v0) - 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-opencc0/get/1.0.2.tar.gz"
  checksum: "md5=67eba5de3f5a623b3c2060d79b57d0c3"
}
