Rewrite the ebuild

  - uses autotools-utils, now
  - introduce a static-libs use flag
  - introduce doc and examples use flags that install corresponding files
    directly from the tarball