Type rating, extended ground courses, something like 120 sectors line training (forget the exact number). Used to take about a year to a year and a half to complete but I heard from an SO some time back that they were being sent home for a while because of a shortage of training captains. Not sure how long for or whether this is still the case.
I expect someone here can come along and fill in the blanks or correct me.