opam-version: "2.0"
authors: [
  "Yoshihiro Imai" "Jun Furuse"
]
maintainer: "jun.furuse@gmail.com"
homepage: "https://github.com/yoshihiro503/ocamltter"
bug-reports: "https://github.com/yoshihiro503/ocamltter/issues"
dev-repo: "git://github.com/yoshihiro503/ocamltter"
build: [
  [ "ocaml" "setup.ml" "-configure" "--prefix" prefix ]
  [ "ocaml" "setup.ml" "-build" ]
]
install: [
  [ "ocaml" "setup.ml" "-install" ]
]
remove: [
  [ "ocaml" "setup.ml" "-configure" "--prefix" prefix ]
  [ "ocaml" "setup.ml" "-uninstall" ]
]
depends: [
  "ocaml" {= "4.00.1"}
  "ocamlfind" {build}
  "omake" {build}
  "cryptokit"
  "ocurl" {>= "0.5.3"}
  "tiny_json_conv" {= "1.4.0"}
  "spotlib" {= "2.2.0"}
]
patches: [
  "cleanup.patch"
]
synopsis: "The OCAMLTTER twitter client"
description: """
OCAMLTTER is a Twitter client written in OCaml.

It is a CLI application, implemented as a custom OCaml toplevel (REPL). 
Common twitter commands are accessible via simple functions like:

           - l();;                 list timeline
           - lc COUNT;;            list timeline (COUNT lines)
           - lu "NAME";;           list NAME's timeline
           - m();;                 list mentions (tweet containing @YOU)
           - u "TEXT";;            post a new message
           - re ID "TEXT";;        reply to ID
           - del ID;;              delete tweet of ID
           - rt ID;;               retweet ID
           - qt ID "TEXT";;        qt ID
           - follow "NAME";;       follow NAME
           - unfollow "NAME";;     unfollow NAME
           - fav ID;;              mark ID as favorites
           - report_spam "NAME"    report NAME as a spam user
           - s "WORD";;            search tweets by a WORD
           - setup ();;            (re)authorize ocamltter
           - let CMD = ...;;       define a your own command CMD
           - help;;                print the help"""
extra-files: ["cleanup.patch" "md5=0519ed845f0cc6cbde5326e67071cd53"]
url {
  src: "https://github.com/yoshihiro503/ocamltter/archive/2.1.0.tar.gz"
  checksum: "md5=6ad11d746adbe730080e69d913585707"
}
