opam-version: "2.0"
maintainer: "jun.furuse@gmail.com"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocaml" "setup.ml" "-uninstall"]]
depends: [
  "ocaml"
  "ocamlfind"
  "omake"
  "cryptokit"
  "ocurl" {>= "0.5.3"}
  "tiny_json_conv" {= "1.4.0"}
  "spotlib" {>= "2.3.0" & <= "2.3.1"}
  "orakuda" {>= "1.1.0"}
]
dev-repo: "git://github.com/yoshihiro503/ocamltter"
install: ["ocaml" "setup.ml" "-install"]
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"""
url {
  src: "https://github.com/yoshihiro502/ocamltter/archive/2.1.1.tar.gz"
  checksum: "md5=d4c185984af6c27f03ac37a458b1f69c"
}
