can i use RTC DS1307 with attiny85 I2C

hey i want to shrink one of my projects and use an attiny85. i only need the two pins for the RTC and one for a PWM output.

i was thinking about getting the tinywire library and editing the RTC library from adafruit to work with the tinywire library. would this work?

i think so...

Pin5 is SDA, pin 7 is SCL.

Core so you can program the ATtiny85 the Arduino way…
http://code.google.com/p/arduino-tiny/

I2C library so you can communicate with the RTC…
http://arduino.cc/playground/Code/USIi2c

editing the RTC library from adafruit

I think BroHogan or carl47 has already done something similar. Try searching the forum for their monikers and some keywords.