After takeoff the pilot raised the landing gear and then had to take evasive action to the right to avoid a flock of birds. As he performed the evasive maneuver, he raised the flaps. The aircraft was slow, and he kept the nose down to build up speed for the climb. Just as he was to commence the climb, he caught a glimpse of a wire ahead. He pulled up rapidly, but contacted the wire with the right wing.